Resource URL: /platform/<<version=3>>/antivirus/quarantine/<PATH+>

    Overview: This resource represents the quarantine status of individual
              files in your /ifs directory tree.  <PATH> should always be
              specified starting with '/ifs'.

     Methods: GET, PUT

********************************************************************************

Method GET: Retrieve the quarantine status of the file at the specified path.

       URL: GET /platform/<<version=3>>/antivirus/quarantine/<PATH+>

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "description": "The quarantine status of a file in /ifs.", 
  "properties": {
    "scan_result": {
      "required": true, 
      "type": "string", 
      "description": "The result of the last scan on this file.  This string is usually one of: never_scanned, clean, quarantined, repaired, truncated, infected_no_action_taken, skipped_per_settings.  However, a longer string starting with 'unknown_status' and describing the details can also appear in uncommon edge cases."
    }, 
    "last_scan": {
      "required": true, 
      "type": [
        "integer", 
        "null"
      ], 
      "description": "The date and time this file was last scanned for viruses, as a UNIX timestamp.  If null, the file has never been scanned."
    }, 
    "quarantined": {
      "required": true, 
      "type": "boolean", 
      "description": "If true, this file is quarantined.  If false, the file is not quarantined."
    }, 
    "last_istag": {
      "required": true, 
      "type": [
        "string", 
        "null"
      ], 
      "description": "The ICAP Service Tag (ISTag) recorded for this file during the last scan, or null if no tag was recorded.  For more information about ISTags, see https://tools.ietf.org/html/rfc3507."
    }, 
    "file": {
      "required": true, 
      "type": "string", 
      "description": "Path of this file, starting with /ifs."
    }, 
    "scan_status": {
      "enum": [
        "current", 
        "not_current"
      ], 
      "type": "string", 
      "description": "The scanning status of this file.  If 'current', the file was scanned with the most up-to-date virus defintions.  If 'not_current', it has either not been scanned, been modified since the last scan, or the virus definitions are not current.", 
      "required": true
    }
  }
}

********************************************************************************

Method PUT: Set the quarantine status of the file at the specified path.  Use
            either an empty object {} in the request body or
            {"quarantined":true} to quarantine the file, and
            {"quarantined":false} to unquarantine the file.

       URL: PUT /platform/<<version=3>>/antivirus/quarantine/<PATH+>

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "description": "The quarantine status of a file in /ifs.", 
  "properties": {
    "quarantined": {
      "type": "boolean", 
      "description": "If true, this file is quarantined.  If false, the file is not quarantined."
    }
  }
}

There is no response body for this method.
